Spread WinForms 15
GrapeCity.CalcEngine Assembly / GrapeCity.CalcEngine Namespace / ArrayHelper Class / Clone Method / Clone<T1,T2>(T1[]) Method
The type of element in source array.
The type of element in destination array.
The array source to clone.


In This Topic
Clone<T1,T2>(T1[]) Method
In This Topic
Clones the specified array to a new array.
Syntax
'Declaration
 
Public Overloads Shared Function Clone
    (Of T1,T2 As T1)( _
   ByVal source() As T1 _
) As T2()
 
'Usage
 
Dim source() As T1
Dim value() As T2
 
value = ArrayHelper.Clone(Of T1, T2)(source)

Parameters

source
The array source to clone.

Type Parameters

T1
The type of element in source array.
T2
The type of element in destination array.
See Also